Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
TunnelGroup Class Reference

TunnelGroup handles and manipulates IKE Tunnel Groups. More...

Public Member Functions

string getName ()
 Returns the Name for the tunnelgroup. More...
 
void setName (string)
 Sets the name for the tunnelgroup. More...
 
TunnelIpsecAttribute getTunnelIpsecAtt ()
 Returns TunnelIpsecAttribute . More...
 
void setTunnelIpsecAtt (TunnelIpsecAttribute)
 sets CTunnelIpsecAttribute. More...
 
TunnelType getType ()
 Return the tunnel type in enum eRemoteAccess = 0, eL2L = 1, eTunnelTypeNone = 2, eWebVpn = 3. More...
 
string getTypeString ()
 Return the tunnel type in string format. More...
 
void setType (TunnelType)
 Set the tunnel type in enum. More...
 
TunnelGeneralAttributes getGeneralAttributes ()
 Returns TunnelGeneralAttributes . More...
 
TunnelGeneralAttributes createGeneralAttributes ()
 Create TunnelGeneralAttributes . More...
 
void removeGeneralAttributes ()
 Remove TunnelGeneralAttributes . More...
 

Detailed Description

TunnelGroup handles and manipulates IKE Tunnel Groups.

Member Function Documentation

◆ createGeneralAttributes()

TunnelGeneralAttributes TunnelGroup::createGeneralAttributes ( )

Create TunnelGeneralAttributes .

Returns
TunnelGeneralAttributes, the newly created TunnelGeneralAttributes object.

◆ getGeneralAttributes()

TunnelGeneralAttributes TunnelGroup::getGeneralAttributes ( )

Returns TunnelGeneralAttributes .

Returns
TunnelGeneralAttributes, the CTunnelGeneralAttributes object.

◆ getName()

string TunnelGroup::getName ( )

Returns the Name for the tunnelgroup.

Returns
string.

◆ getTunnelIpsecAtt()

TunnelIpsecAttribute TunnelGroup::getTunnelIpsecAtt ( )

Returns TunnelIpsecAttribute .

Returns
TunnelIpsecAttribute, the CTunnelIpsecAttribute object.

◆ getType()

TunnelType TunnelGroup::getType ( )

Return the tunnel type in enum eRemoteAccess = 0, eL2L = 1, eTunnelTypeNone = 2, eWebVpn = 3.

◆ getTypeString()

string TunnelGroup::getTypeString ( )

Return the tunnel type in string format.

◆ removeGeneralAttributes()

void TunnelGroup::removeGeneralAttributes ( )

Remove TunnelGeneralAttributes .

Returns
none

◆ setName()

void TunnelGroup::setName ( string  )

Sets the name for the tunnelgroup.

Parameters
string.

◆ setTunnelIpsecAtt()

void TunnelGroup::setTunnelIpsecAtt ( TunnelIpsecAttribute  )

sets CTunnelIpsecAttribute.

Parameters
tunnelIpsecAtt,theCTunnelIpsecAttribute object.

◆ setType()

void TunnelGroup::setType ( TunnelType  )

Set the tunnel type in enum.

Parameters
typeeRemoteAccess = 0, eL2L = 1, eTunnelTypeNone = 2, eWebVpn = 3

The documentation for this class was generated from the following file: